package com.msos.model.manager;

/**
 * 弟中弟：小邦
 */
public class Manager {
    private Integer mid;
    private String name;
    private String password;
    private String gender;
    private String idCard;
    private String phone;
    private Boolean enabled;
    private Integer role;

    public Manager(String name, String password, String gender, String idCard, String phone, Boolean enabled) {
        this.name = name;
        this.password = password;
        this.gender = gender;
        this.idCard = idCard;
        this.phone = phone;
        this.enabled = enabled;
    }

    public Manager() {
    }

    @Override
    public String toString() {
        return "Manager{" +
                "mid=" + mid +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", gender='" + gender + '\'' +
                ", idCard='" + idCard + '\'' +
                ", phone='" + phone + '\'' +
                ", enabled=" + enabled +
                ", role=" + role +
                '}';
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }
}
